doctype 5
html(lang='en')
    head
        title= title
        meta(charset="UTF-8")
        meta(name="author", content="OneZero")
        link(rel='stylesheet', href='/stylesheets/bootstrap.min.css')
        link(rel='stylesheet', href='/stylesheets/bootstrap-responsive.min.css')
        link(rel='stylesheet', href='/stylesheets/style.css')
    body
        .navbar.navbar-inverse.navbar-fixed-top
            .navbar-inner
                .container-fluid
                    button.btn.btn-navbar(type="button", data-toggle="collapse", data-target=".nav-collapse")
                        span.icon-bar
                        span.icon-bar
                        span.icon-bar
                    a.brand KA
                    div.nav-collapse.collapse
                        p.navbar-text.pull-right    Logged in as
                            a.navbar-link #{username}
                        ul.nav
                            li.active
                                a(href='#home') Home
                            li
                                a(href='#about') About
                            li
                                a(href='#contact') Contact

        .container-fluid
            .row-fluid
                .span3
                    .well.sidebar-nav
                        ul.nav.nav-list
                            li.nav-header   Sidebar
                            li.active: a Page1
                            li: a Page2
                            li: a Page3
                            li.nav-header   Sidebar
                            li: a Page4
                            li: a Page5
                            li.nav-header   Sidebar
                            li: a Page6
                            li: a Page7
                            li: a Page8
                .span9
                    block content

        script(src='/javascripts/jquery-1.9.1.min.js')
        script(src='/javascripts/bootstrap.min.js')
        script(src='/javascripts/global.js')